package cn.b.sky.flowable.dao;

import cn.b.sky.flowable.model.ProcessModelParam;
import org.apache.ibatis.annotations.Param;

import java.util.List;


public interface ProcessModelParamDao {
  public List<ProcessModelParam> getProcessModelParamsByModelId(String modelId);

  public void insertProcessModelParams(ProcessModelParam param);

  public void delProcessModelParams(ProcessModelParam param);

  public ProcessModelParam getProcessModeParamByModelIdAndCode(@Param("modelId") String modelId,
                                                               @Param("code") String code);
}
